package com.czhhx.myedcon.entity;

import org.xutils.http.annotation.HttpResponse;

import java.io.Serializable;

/**
 * @Description com.czhhx.myedcon.entity
 * @Auth czh
 * @Date 2023/4/28
 **/
public class BaseDataEntity<T> implements Serializable {

    /**
     * resultCode : 200
     * message : 查询成功！
     * data : {"heart":"12","thdx":"12","uo2":"12","uo3":"323","uo4":"32","uo5":"23","f":"43"}
     */

    private Integer resultCode;
    private String message;
    private T data;

    @Override
    public String toString() {
        return "BaseDataEntity{" +
                "resultCode=" + resultCode +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }

    public Integer getResultCode() {
        return resultCode;
    }

    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
